package com.zillion.certificate.mapper;

import com.zillion.certificate.domain.HealthCertificate;

import java.util.List;

/**
 * 体检健康证Mapper接口
 *
 * @author zillion
 * @date 2025-06-16
 */
public interface HealthCertificateMapper
{
    /**
     * 查询体检健康证
     *
     * @param id 体检健康证主键
     * @return 体检健康证
     */
    public HealthCertificate selectHealthCertificateById(Long id);

    /**
     * 查询体检健康证列表
     *
     * @param healthCertificate 体检健康证
     * @return 体检健康证集合
     */
    public List<HealthCertificate> selectHealthCertificateList(HealthCertificate healthCertificate);

    /**
     * 新增体检健康证
     *
     * @param healthCertificate 体检健康证
     * @return 结果
     */
    public int insertHealthCertificate(HealthCertificate healthCertificate);

    /**
     * 修改体检健康证
     *
     * @param healthCertificate 体检健康证
     * @return 结果
     */
    public int updateHealthCertificate(HealthCertificate healthCertificate);

    /**
     * 删除体检健康证
     *
     * @param id 体检健康证主键
     * @return 结果
     */
    public int deleteHealthCertificateById(Long id);

    /**
     * 批量删除体检健康证
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHealthCertificateByIds(Long[] ids);
}
